package com.xxl.api.admin.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xxl.api.admin.core.model.XxlApiMock;

/**
 * Created by xuxueli on 17/4/1.
 */
@Mapper
public interface IXxlApiMockDao {
	public int add(XxlApiMock xxlApiMock);

	public int update(XxlApiMock xxlApiMock);

	public int delete(@Param("id") int id);

	public List<XxlApiMock> loadAll(@Param("documentId") int documentId);

	public XxlApiMock load(@Param("id") int id);

	public XxlApiMock loadByUuid(@Param("uuid") String uuid);
}
